package com.gongfutrip.trans.remoting;

import io.netty.channel.Channel;

/**
 * 监控NettyConnetManageHandler 中封装的NettyEvent
 * @author liuchengyu
 *
 */
public interface ChannelEventListener {
  void onChannelConnect(final String remoteAddr, final Channel channel);

  void onChannelClose(final String remoteAddr, final Channel channel);

  void onChannelException(final String remoteAddr, final Channel channel);

  void onChannelIdle(final String remoteAddr, final Channel channel);
}
